/*****************************************************************
 MYD Engine v0.1

 File: myd_entity.inl
 Created: 13/06/09
*****************************************************************/

inline void Entity::setName (std::string kName)
{
	m_kName = kName;
}
//----------------------------------------------------------------
inline const std::string& Entity::getName () const
{
	return m_kName;
}
//----------------------------------------------------------------
inline void Entity::setPos (float fX, float fY, float fZ)
{
	m_fX = fX;
	m_fY = fY;
	m_fZ = fZ;
}
//----------------------------------------------------------------
inline float Entity::getPosX () const
{
	return m_fX;
}
//----------------------------------------------------------------
inline float Entity::getPosY () const
{
	return m_fY;
}
//----------------------------------------------------------------
inline float Entity::getPosZ () const
{
	return m_fZ;
}
//----------------------------------------------------------------
inline void Entity::setRotation (float fRotationX, float fRotationY, float fRotationZ)
{
	m_fRotationX = fRotationX;
	m_fRotationY = fRotationY;
	m_fRotationZ = fRotationZ;
}
//----------------------------------------------------------------
inline float Entity::getRotationX () const
{
	return m_fRotationX;
}
//----------------------------------------------------------------
inline float Entity::getRotationY () const
{
	return m_fRotationY;
}
//----------------------------------------------------------------
inline float Entity::getRotationZ () const
{
	return m_fRotationZ;
}
//----------------------------------------------------------------
inline void Entity::setDim (float fW, float fH, float fL)
{
	m_fW = fW;
	m_fH = fH;
	m_fL = fL;
}
//----------------------------------------------------------------
inline float Entity::getWidth() const
{
	return m_fW;
}
//----------------------------------------------------------------
inline float Entity::getHeight() const
{
	return m_fH;
}
//----------------------------------------------------------------
inline void Entity::setSpeed(float speed)
{
	m_fMovSpeed = speed;
}
//----------------------------------------------------------------
inline void Entity::setAngle(float angle)
{
	m_fMovAngleRad = angle * 3.14159f / 180.0f;
}
//----------------------------------------------------------------
inline void Entity::setMoving(bool)
{
	isMoving = true;
}
//----------------------------------------------------------------
inline void Entity::setCollisionable(bool set)
{
	isCollisionable = set;
}
//----------------------------------------------------------------
inline void Entity::setRenderer(Renderer *renderer)
{
	this->renderer = renderer;
}
//----------------------------------------------------------------